export type LoginDialogOnClosed = (data?: string) => void;